package com.iyue;

import java.io.FileInputStream;
import java.util.Properties;

/**
 * 
 * 
 * @author luozm
 * @version $Id: Sns.java,v 1.1 2010/10/14 17:07:15 fresh Exp $
 */
public final class Sns {
	/**
	 * 用户注册接口
	 */
	public static String url_register_service;
	// /**
	// * 当前站点域名
	// */
	// public static String url_thissite;

	static {
		Sns sns = new Sns();
		String file_name = sns.getClass().getClassLoader().getResource(
				"sns.properties").getFile();
		Properties prop = new Properties();
		try {
			prop.load(new FileInputStream(file_name));
		} catch (Exception ex) {
			ex.printStackTrace();
		}

		url_register_service = prop.getProperty("url.register.service");
	}
}
